<template>
 <div class="icon_bar">
<van-grid :border="false" :column-num="4" square class="icon_wrap">
  <van-grid-item>
    <router-link to="/goodList?goodId=123">
   <van-image src="https://img.yzcdn.cn/vant/apple-1.jpg" />
    <p>充值缴费</p>
    </router-link>
  </van-grid-item>
  <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-2.jpg" />
    <p>数码电器</p>
  </van-grid-item>
  <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-3.jpg" />
     <p>潮流服饰</p>
  </van-grid-item>
    <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-1.jpg" />
     <p>数码电器</p>
  </van-grid-item>
    <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-1.jpg" />
     <p>数码电器</p>
  </van-grid-item>
  <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-2.jpg" />
     <p>数码电器</p>
  </van-grid-item>
  <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-3.jpg" />
     <p>数码电器</p>
  </van-grid-item>
    <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-1.jpg" />
     <p>数码电器</p>
  </van-grid-item>
</van-grid>
<van-notice-bar
  color="#444444"
  background="#ecf9ff"
  :scrollable="true"
>
  通知内容通知内容通知内容通知内容通知内容通知内容通知内容通知内容通知内容
</van-notice-bar>
<van-grid :border="false" :column-num="3" square class="ad_wrap">
    <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-1.jpg" />

  </van-grid-item>
  <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-2.jpg" />

  </van-grid-item>
  <van-grid-item>
    <van-image src="https://img.yzcdn.cn/vant/apple-3.jpg" />
  </van-grid-item>
</van-grid>
 </div>
</template>
 
<script>

export default {
     name:'iconBar',
   data() {
      return {
      }
   },
}
 
</script>
 
<style lang="stylus" scoped>
 .icon_bar
    position relative
    box-sizing border-box
    >>>.icon_wrap
        position relative
        img 
            width 1rem
            height 1rem
            border-radius 0.5rem
            box-sizing border-box
            box-shadow 0 0 6px #e1a0a0
    p
        font-size 0.24rem
        line-height 0.4rem
        color #454545
</style>
